/* Download Cleaner Settings Styles */

@use '../styles/settings-shared.scss';
@use '../styles/arr-shared.scss';
@use '../styles/accordion-error-indicator.scss';
@use '../settings-page/settings-page.component.scss';

.section-header {
  margin-bottom: 1rem;
  
  h3 {
    margin-bottom: 0.25rem;
    font-weight: 500;
  }
  
  small {
    color: var(--text-color-secondary);
  }
}

.categories-container {
  margin-bottom: 1.5rem;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-item {
  background-color: var(--surface-hover);
  border-radius: 6px;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  
  &:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  .category-icon {
    color: var(--primary-color);
    font-size: 1rem;
  }
  
  .category-name-input {
    font-weight: 500;
    font-size: 1.1rem;
  }
}

.category-content {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--surface-border);
}

.category-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  
  @media (min-width: 768px) {
    flex-direction: row;
    align-items: flex-start;
  }
  
  label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    
    @media (min-width: 768px) {
      flex: 0 0 200px;
      margin-bottom: 0;
      padding-top: 0.5rem;
    }
  }
}

.empty-categories-message {
  background-color: var(--surface-ground);
  border-radius: 6px;
  border: 1px dashed var(--surface-border);
  color: var(--text-color-secondary);
  font-style: italic;
}

.unlinked-settings {
  margin-top: 1.5rem;
}

.schedule-container {
  margin-bottom: 1.5rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-border);
}